package com.yihuier.yihuier.Service.RoomManager;

import com.yihuier.yihuier.Entity.RoomManager.AccessControl;
import com.yihuier.yihuier.Mapper.RoomManager.AccessControlMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccessControlService {
    @Autowired
    private AccessControlMapper accessControlMapper;

    public AccessControl getAccessControlObj(int room_lock){
        return accessControlMapper.selectAccessControlObj(room_lock);
    }
}
